package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

public class UserPreferentialCard implements Serializable {
    private static final long serialVersionUID = 5414984980163267237L;

    /**
     * This field corresponds to the database column user_preferential_card.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column user_preferential_card.user_id
     */
    private Integer userId = 0;

    /**
     * This field corresponds to the database column user_preferential_card.card_type
     */
    private Integer cardType = 0;

    /**
     * This field corresponds to the database column user_preferential_card.card_id
     */
    private Integer cardId = 0;

    /**
     * This field corresponds to the database column user_preferential_card.card_number
     */
    private String cardNumber;

    /**
     * This field corresponds to the database column user_preferential_card.create_time
     */
    private Date createTime = new Date();

    /**
     * This field corresponds to the database column user_preferential_card.valid_time
     */
    private Date validTime = new Date();

    /**
     * This field corresponds to the database column user_preferential_card.applicable_platform_id
     */
    private Integer applicablePlatformId = 0;

    /**
     * This field corresponds to the database column user_preferential_card.is_valid
     */
    private Integer isValid = 0;

    /**
     * This field corresponds to the database column user_preferential_card.total_number
     */
    private Integer totalNumber = 0;

    /**
     * This field corresponds to the database column user_preferential_card.used_number
     */
    private Integer usedNumber = 0;

    /**
     * This field corresponds to the database column user_preferential_card.status
     */
    private Integer status = 0;

    /**
     * This field corresponds to the database column user_preferential_card.use_time
     */
    private Date useTime = new Date();

    /**
     * This method returns the value of the database column user_preferential_card.id
     *
     * @return the value of user_preferential_card.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column user_preferential_card.id
     *
     * @param id the value for user_preferential_card.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column user_preferential_card.user_id
     *
     * @return the value of user_preferential_card.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column user_preferential_card.user_id
     *
     * @param userId the value for user_preferential_card.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method returns the value of the database column user_preferential_card.card_type
     *
     * @return the value of user_preferential_card.card_type
     */
    public Integer getCardType() {
        return cardType;
    }

    /**
     * This method sets the value of the database column user_preferential_card.card_type
     *
     * @param cardType the value for user_preferential_card.card_type
     */
    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    /**
     * This method returns the value of the database column user_preferential_card.card_id
     *
     * @return the value of user_preferential_card.card_id
     */
    public Integer getCardId() {
        return cardId;
    }

    /**
     * This method sets the value of the database column user_preferential_card.card_id
     *
     * @param cardId the value for user_preferential_card.card_id
     */
    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    /**
     * This method returns the value of the database column user_preferential_card.card_number
     *
     * @return the value of user_preferential_card.card_number
     */
    public String getCardNumber() {
        return cardNumber;
    }

    /**
     * This method sets the value of the database column user_preferential_card.card_number
     *
     * @param cardNumber the value for user_preferential_card.card_number
     */
    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    /**
     * This method returns the value of the database column user_preferential_card.create_time
     *
     * @return the value of user_preferential_card.create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method sets the value of the database column user_preferential_card.create_time
     *
     * @param createTime the value for user_preferential_card.create_time
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method returns the value of the database column user_preferential_card.valid_time
     *
     * @return the value of user_preferential_card.valid_time
     */
    public Date getValidTime() {
        return validTime;
    }

    /**
     * This method sets the value of the database column user_preferential_card.valid_time
     *
     * @param validTime the value for user_preferential_card.valid_time
     */
    public void setValidTime(Date validTime) {
        this.validTime = validTime;
    }

    /**
     * This method returns the value of the database column user_preferential_card.applicable_platform_id
     *
     * @return the value of user_preferential_card.applicable_platform_id
     */
    public Integer getApplicablePlatformId() {
        return applicablePlatformId;
    }

    /**
     * This method sets the value of the database column user_preferential_card.applicable_platform_id
     *
     * @param applicablePlatformId the value for user_preferential_card.applicable_platform_id
     */
    public void setApplicablePlatformId(Integer applicablePlatformId) {
        this.applicablePlatformId = applicablePlatformId;
    }

    /**
     * This method returns the value of the database column user_preferential_card.is_valid
     *
     * @return the value of user_preferential_card.is_valid
     */
    public Integer getIsValid() {
        return isValid;
    }

    /**
     * This method sets the value of the database column user_preferential_card.is_valid
     *
     * @param isValid the value for user_preferential_card.is_valid
     */
    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    /**
     * This method returns the value of the database column user_preferential_card.total_number
     *
     * @return the value of user_preferential_card.total_number
     */
    public Integer getTotalNumber() {
        return totalNumber;
    }

    /**
     * This method sets the value of the database column user_preferential_card.total_number
     *
     * @param totalNumber the value for user_preferential_card.total_number
     */
    public void setTotalNumber(Integer totalNumber) {
        this.totalNumber = totalNumber;
    }

    /**
     * This method returns the value of the database column user_preferential_card.used_number
     *
     * @return the value of user_preferential_card.used_number
     */
    public Integer getUsedNumber() {
        return usedNumber;
    }

    /**
     * This method sets the value of the database column user_preferential_card.used_number
     *
     * @param usedNumber the value for user_preferential_card.used_number
     */
    public void setUsedNumber(Integer usedNumber) {
        this.usedNumber = usedNumber;
    }

    /**
     * This method returns the value of the database column user_preferential_card.status
     *
     * @return the value of user_preferential_card.status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method sets the value of the database column user_preferential_card.status
     *
     * @param status the value for user_preferential_card.status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method returns the value of the database column user_preferential_card.use_time
     *
     * @return the value of user_preferential_card.use_time
     */
    public Date getUseTime() {
        return useTime;
    }

    /**
     * This method sets the value of the database column user_preferential_card.use_time
     *
     * @param useTime the value for user_preferential_card.use_time
     */
    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }
}